﻿@model Kelper.Infrastructure.Helpers.IngredientCloud

<div class="ingredient-cloud">
    @foreach (var kv in Model.IngredientsAndUsageSpread.Where(kv => kv.Value > 0.7))
    {
        <a href="@Url.Action("view", "ingredient", new { name = kv.Key.Name })"
           style="font-size:@kv.Value.PercentageDisplay()">@kv.Key.Name</a>
    }
</div>
